<h1>Nueva publicación</h1>
<form action="<?php echo url_for('@publications_new_save') ?>" method="post" enctype="multipart/form-data" autocomplete="off">
<table width="100%" cellpadding="5" cellspacing="5">
  <tr>
    <td>T&iacute;tulo</td>
    <td><textarea name="title"></textarea></td>
  </tr>
  <tr>
    <td>Autor</td>
    <td><input type="text" name="author" /></td>
  </tr>
  <tr>
    <td>Fecha de publicaci&oacute;n</td>
    <td>
        <input type="text" id="release_date" name="release_date" placeholder="25/12/2000" autocomplete="off" />
    </td>
  </tr>
  <tr>
    <td>Tipo de publicaci&oacute;n</td>
    <td>
        <select name="type">
            <option value="">-- Seleccione tipo de publicaci&oacute;n --</option>
            <?php foreach($publications_types as $publications_type){ ?>
            <option value="<?php echo $publications_type->getId(); ?>">
                <?php echo $publications_type->getDescription(); ?></option>
            <?php } ?>
        </select>
    </td>
  </tr>
  <tr>
    <td>Imagen de la portada</td>
    <td><input type="file" name="image" /></td>
    <td><em style="color: gray;">La imagen debe ser: 245x306 JPG</em></td>
  </tr>
  <tr>
    <td colspan="2" align="center">
      <input type="submit" value="Guardar Cambios"/>
    </td>
  </tr>
</table>
</form>